# @Version : 1.0
# @Author  : 刘宇
# @File    : 09_assign_operator.py
# @Time    : 2025/9/30 15:26

# 赋值运算符
a = 10
b = 20

temp = a
a = b
b = temp

print(a, b)

# 另外一种方法：python中可以用
# x, y = y, x
x = 40
y = 20
x, y = y, x
print(x, y)
